package com.sky.service;

import com.sky.entity.AddressBook;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * ClassName: AddressBookService
 * Package: IntelliJ IDEA
 *
 * @author 张文豪
 * @description
 * @date 2023/8/18 19:21
 */
@Service
public interface AddressBookService {
    void add(AddressBook addressBook);

    List<AddressBook> list();

    void updateAddress(AddressBook addressBook);

    void deleteAddress(Long id);

    AddressBook getAddress(Long id);

    void setDefault(AddressBook addressBook);

    AddressBook selectDefult();
}
